<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/4/1
  Time: 16:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>后台管理-留言审核</title>
    <meta http-equiv="Content-Language" content="zh-cn">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <LINK href="${pageContext.request.contextPath}/admin/css/Style.css" type="text/css" rel="stylesheet">
    <script language="javascript" src="${pageContext.request.contextPath}/js/public.js"></script>
    <script type="text/javascript">

        function o_put() {
            var msg = "您确定要发表留言吗？";
            if (confirm(msg)==true){
                return true;
            }else{
                return false;
            }
        }
    </script>
</head>
<body>
<jsp:include page="/admin/login/top.jsp"/>
<div class="main">
    <jsp:include page="/admin/login/left.jsp"/>
    <div class="home">
<table cellSpacing="1" cellPadding="5" width="100%" align="center"
       bgColor="#eeeeee" style="border: 1px solid #8ba7e3" border="0">
    <tr>
        <td class="ta_01" align="center" bgColor="#CEADE2" colSpan="4" height="26">
            <strong>
                留言详细信息
            </strong>
        </td>
    </tr>
 <%--   <tr>
        <td width="18%" align="center" bgColor="#f5fafe" class="ta_01">留言编号：</td>
        <td class="ta_01" bgColor="#ffffff">${word.id}</td>--%>
<c:forEach items="${word}" var="word">
    <tr>
        <td align="center" bgColor="#f5fafe" class="ta_01">留言用户：</td>
        <td class="ta_01" bgColor="#ffffff">${word.author }</td>
    </tr>
    <tr>
        <td align="center" bgColor="#f5fafe" class="ta_01">留言时间：</td>
        <td class="ta_01" bgColor="#ffffff" colSpan="3">${word.pubtime}</td>
    </tr>
    <tr>
    <td align="center" bgColor="#f5fafe" class="ta_01">留言内容：</td>
        <td class="ta_01" bgColor="#ffffff">${word.content}</td>
    </tr>
</c:forEach>
    <TR>
        <td class="ta_01" style="WIDTH: 100%" align="right" bgColor="#f5fafe" colSpan="4">
            <FONT face="宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>
<%--        <td align="center" style="HEIGHT: 22px">--%>
            <!--  已审核，弹出提示框由操作人确认 -->
   <%--         <c:if test="${word.checkstate!=0 }">
&lt;%&ndash;                <a href="${pageContext.request.contextPath}/delWordById?id=${word.id}&type=admin" onclick="javascript:return o_put()">&ndash;%&gt;
                <a href="${pageContext.request.contextPath}" onclick="javascript:return o_put()">
                <INPUT class="button_ok1" type="button" onclick="" value="通过" />
                </a>
            </c:if>--%>

            <INPUT class="button_ok" type="button" onclick="history.go(-1)" value="返回" />
            <span id="Label1"></span>
        </td>
    </TR>
</table>
    </div>
</div>
</body>
<jsp:include page="/admin/login/bottom.jsp"/>
</html>
